package Java并发编程;

/**
 * @author gaofeng
 * date 2022年01月03日 11:05
 */
public class TestMultiThread {
    public static void main(String[] args) {
        new Thread(() -> {
            while (true) {
                System.out.println("t1在执行");
            }
        },"t1").start() ;

        new Thread(() -> {
            while (true) {
                System.out.println("t2在执行");
            }
        },"t2").start();


    }
}
